package com.ss.android.article.browser.search;

import com.ss.android.article.browser.preference.PreferenceManager;

public class SharedPreferenceHelper {
    public PreferenceManager mPreferenceManager;
    private static SharedPreferenceHelper sInstance;

    public SharedPreferenceHelper() {
        this.mPreferenceManager = PreferenceManager.getInstance();
    }

    public static SharedPreferenceHelper getInstance() {
        if (SharedPreferenceHelper.sInstance == null) {
            synchronized (SharedPreferenceHelper.class) {
                if (SharedPreferenceHelper.sInstance == null) {
                    SharedPreferenceHelper.sInstance = new SharedPreferenceHelper();
                }
            }
        }
        return SharedPreferenceHelper.sInstance;
    }
}

